package com.hopu.mapper;

import com.hopu.pojo.Emp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface IEmpMapper {

    public List<Emp> findAll() throws Exception;

    public List<Emp> findById(@Param("eid")Integer eid,@Param("did")Integer did) throws Exception;

    public int update_emp(Emp e);

    public  int save(Emp e) throws Exception;

    public int delete_emp(@Param("eid")Integer eid) throws Exception;
}
